#pragma once

#include "Animation.h"
#include "Frame.h"
#include <hash_map>
#include <string>

class CAnimationManager
{
public:
	static CAnimationManager*	GetInstance( void );
public:
	CAnimationManager(void);
	~CAnimationManager(void);
	void LoadAnimationsXML(void);
	void ClearMemory(void);
private:
	std::hash_map<std::string,CAnimation*> m_hmAnimations;
public:
	CAnimation* GetAnimation(std::string name);
};

